Matthias Clasen [Fri, 26 Sep 2014 03:57:34 +0000 (23:57 -0400)]
gtk-demo: Don't create 2 main windows
Loading a builder file with a window leaves a ghost behind, since
windows need to be explicitly destroyed. Avoid that by using
gtk_builder_add_objects_from_resource.
Andika Triwidada [Fri, 26 Sep 2014 03:12:08 +0000 (03:12 +0000)]
Updated Indonesian translation
Matthias Clasen [Fri, 26 Sep 2014 03:05:15 +0000 (23:05 -0400)]
inspector: life-cycle fixes
When closing the inspector before the main window, we must take
care to sever all signal connections and weak refs, otherwise
things will go bad when the window is closed later.
Eric Le Bihan [Thu, 25 Sep 2014 08:11:38 +0000 (10:11 +0200)]
Fix testgtk.c when building for Wayland.
Fix wrong usage of GDK_WINDOWING_WAYLAND instead of
GDK_WINDOWING_X11 in test/testgtk.c.
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
https://bugzilla.gnome.org/show_bug.cgi?id=737363
Carlos Garnacho [Thu, 25 Sep 2014 13:24:46 +0000 (15:24 +0200)]
button: Fix ::clicked emission on touchscreens sending pointer events
When GtkGestureMultiPress::released happens, in_button should be unset
after emitting GtkButton::released, whose default implementation uses it.
Moreover, in_button should only be unset there for real touch events, not
guaranteed to trigger crossing events, as opposed to every pointer/touch
events from touchscreens.
https://bugzilla.gnome.org/show_bug.cgi?id=737297
Matthias Clasen [Thu, 25 Sep 2014 05:26:06 +0000 (01:26 -0400)]
Use titlebar action settings for CSD windows
Instead of hardcoding these actions, consult the settings.
Note that not all of the actions supported by gnome-shell are
implemented here, only maximize, minimize, lower, and menu.
https://bugzilla.gnome.org/show_bug.cgi?id=729782
Matthias Clasen [Thu, 25 Sep 2014 04:47:33 +0000 (00:47 -0400)]
Factor out titlebar click actions
So they can be made configurable.
https://bugzilla.gnome.org/show_bug.cgi?id=729782
Matthias Clasen [Thu, 25 Sep 2014 05:25:49 +0000 (01:25 -0400)]
Implement titlebar action settings for Wayland
https://bugzilla.gnome.org/show_bug.cgi?id=729782
Matthias Clasen [Thu, 25 Sep 2014 05:25:25 +0000 (01:25 -0400)]
Implement titlebar action settings for X11
https://bugzilla.gnome.org/show_bug.cgi?id=729782
Matthias Clasen [Thu, 25 Sep 2014 05:24:44 +0000 (01:24 -0400)]
Add settings for titlebar actions
These match the GSettings that mutter/metacity/gnome-shell have
for this. We change the default for the middle-click action to
none, since lower is just a terrible default.
We're slightly bending the rules here, since we're adding new
settings after .0, but a) it is just barely after .0, and b) settings
are not really application API.
https://bugzilla.gnome.org/show_bug.cgi?id=729782
Balázs Úr [Thu, 25 Sep 2014 16:00:08 +0000 (16:00 +0000)]
Updated Hungarian translation
Stas Solovey [Thu, 25 Sep 2014 11:55:56 +0000 (11:55 +0000)]
Updated Russian translation
Мирослав Николић [Thu, 25 Sep 2014 07:46:30 +0000 (09:46 +0200)]
Updated Serbian translation
Matthias Clasen [Thu, 25 Sep 2014 03:33:23 +0000 (23:33 -0400)]
Make GtkModelButton work with touch
Some recent refactoring changed things so that in_button is no
longer TRUE when released() is called for touch events. As a minimal
fix, let GtkButton do more of the work by chaining up to its
pressed and released handlers, which know how to handle touch
events. This could be further improved by leaving more of the
state handling to GtkButton, like it was done for GtkToggleButton.
Matthias Clasen [Thu, 25 Sep 2014 00:34:16 +0000 (20:34 -0400)]
Improve workarea documentation
Worth mentioning that workarea may not exist, and that we
return the full monitor geometry in that case.
Matthias Clasen [Thu, 25 Sep 2014 00:20:00 +0000 (20:20 -0400)]
x11: Neuter workarea in fullscreen scenarios
If we have a fullscreen window that covers a monitor, desktop
chrome is not relevant for placing of menus and other popups.
Therefore, return the full monitor geometry instead of the
workarea in this case.
https://bugzilla.gnome.org/show_bug.cgi?id=737251
Matthias Clasen [Wed, 24 Sep 2014 23:50:28 +0000 (19:50 -0400)]
Fix comment typo
Мирослав Николић [Wed, 24 Sep 2014 20:08:31 +0000 (22:08 +0200)]
Updated Serbian translation
Alexandre Franke [Wed, 24 Sep 2014 13:56:58 +0000 (13:56 +0000)]
Updated French translation
Krishnababu Krothapalli [Tue, 23 Sep 2014 23:19:49 +0000 (23:19 +0000)]
Updated Telugu translation
Daniel Mustieles [Tue, 23 Sep 2014 17:45:10 +0000 (19:45 +0200)]
Updated Spanish translation
Andika Triwidada [Tue, 23 Sep 2014 17:22:35 +0000 (17:22 +0000)]
Updated Indonesian translation
Krishnababu Krothapalli [Tue, 23 Sep 2014 16:39:03 +0000 (16:39 +0000)]
Updated Telugu translation
Praveen Illa [Tue, 23 Sep 2014 16:37:33 +0000 (16:37 +0000)]
Updated Telugu translation
Matthias Clasen [Tue, 23 Sep 2014 15:22:12 +0000 (11:22 -0400)]
GtkSwitch: Use gtk_widget_add_tick_callback
This api automatically takes care of dealing with disappearing
frame clocks, which we currently forget to and pay with crashes.
Yosef Or Boczko [Tue, 23 Sep 2014 14:22:25 +0000 (17:22 +0300)]
Updated Hebrew translation
Wolfgang Stöggl [Tue, 23 Sep 2014 12:13:42 +0000 (12:13 +0000)]
Updated German translation
Shantha kumar [Tue, 23 Sep 2014 12:04:41 +0000 (12:04 +0000)]
Updated Tamil translation
Shantha kumar [Tue, 23 Sep 2014 11:10:03 +0000 (11:10 +0000)]
Updated Tamil translation
Rajesh Ranjan [Tue, 23 Sep 2014 11:06:51 +0000 (11:06 +0000)]
Updated Hindi translation
GNOME Translation Robot [Tue, 23 Sep 2014 11:06:15 +0000 (11:06 +0000)]
Updated Scottish Gaelic translation
Rajesh Ranjan [Tue, 23 Sep 2014 11:04:41 +0000 (11:04 +0000)]
Updated Hindi translation
Chun-wei Fan [Tue, 23 Sep 2014 11:02:51 +0000 (19:02 +0800)]
Fix MSVC 2010+ Build for Icon Browser
A needed include path was missed, make up for that.
Chun-wei Fan [Tue, 23 Sep 2014 10:54:34 +0000 (18:54 +0800)]
MSVC Builds: Build and Install gtk3-icon-browser
Add the icon browser demo to the Visual Studio projects, and "install" it
as well.
GNOME Translation Robot [Tue, 23 Sep 2014 10:36:05 +0000 (10:36 +0000)]
Updated Scottish Gaelic translation
Tom Tryfonidis [Tue, 23 Sep 2014 07:16:15 +0000 (10:16 +0300)]
Updated Greek translation
Marek Černocký [Tue, 23 Sep 2014 05:12:10 +0000 (07:12 +0200)]
Updated Czech translation
Shankar Prasad [Tue, 23 Sep 2014 04:49:19 +0000 (04:49 +0000)]
Updated Kannada translation
Shankar Prasad [Tue, 23 Sep 2014 04:46:17 +0000 (04:46 +0000)]
Updated Kannada translation
Jehan [Fri, 15 Aug 2014 19:58:11 +0000 (19:58 +0000)]
win32: provide an implementation for gdk_test_simulate_key().
https://bugzilla.gnome.org/show_bug.cgi?id=734879
Carlos Garnacho [Mon, 15 Sep 2014 12:05:43 +0000 (14:05 +0200)]
popover: Don't run full dispose() when unmanaging the widget
A popover can go unmanaged for 2 reasons, when the widget it points to
gets destroyed, or transitionally in gtk_popover_set_relative_to(). In
both of these cases it makes sense to only unset popover information
about the previous widget managing it, if the popover is meant to
survive the unmanaging through extra refs.
Also, the focus widget prior to a modal popover being shown is considered
information about the relative_to widget, unset it on
gtk_popover_update_relative_to() with the rest.
https://bugzilla.gnome.org/show_bug.cgi?id=736193
Carlos Garnacho [Tue, 16 Sep 2014 19:19:40 +0000 (21:19 +0200)]
gtkwindow: run ::event and specific handlers for EWMH action triggering events
This gives an opportunity for implementations to handle these events
differently, instead of hardcoding the WM-triggering behavior.
gtk_window_event() only forwards events for WM management if the event
widget is not the window (ie. caught when bubbling), so is safe to be
called here without triggering gtk_window_handle_wm_event() twice.
This commit is an adaption to master of
https://bugzilla.gnome.org/show_bug.cgi?id=736702#c1 by Cosimo Cecchi.
Carlos Garnacho [Tue, 16 Sep 2014 15:14:09 +0000 (17:14 +0200)]
gdkwindow: check grab window and children on get_pointer_window()
If !owner_events, the pointer window has been usually set to NULL if
the pointer fell outside the grabbing widget, but it was not being
checked that the pointer_window is actually a child of the grab
window, in which case it should be obtained as if ungrabbed.
https://bugzilla.gnome.org/show_bug.cgi?id=735749
Carlos Garnacho [Thu, 18 Sep 2014 11:48:35 +0000 (13:48 +0200)]
scalebutton: Invert smooth scroll dy when adding to the current value
On regular scrolling (ie. not natural scrolling), positive deltas in the
Y axis (downwards) should actually move the value towards the adjustment
minimum value to be more intuitive. This also makes the scrolling
directions match between the button and the popped up scale.
https://bugzilla.gnome.org/show_bug.cgi?id=736830
Rafael Ferreira [Tue, 23 Sep 2014 00:16:37 +0000 (00:16 +0000)]
Updated Brazilian Portuguese translation
Fran Diéguez [Tue, 23 Sep 2014 00:01:15 +0000 (02:01 +0200)]
Updated Galician translations
Piotr Drąg [Mon, 22 Sep 2014 23:45:25 +0000 (01:45 +0200)]
Updated Polish translation
Matthias Clasen [Fri, 19 Sep 2014 12:44:21 +0000 (08:44 -0400)]
inspector: Show the source of settings
This can be useful at times to see if a setting is coming
from an XSetting, or overridden by the application.
https://bugzilla.gnome.org/show_bug.cgi?id=736971
Matthias Clasen [Fri, 19 Sep 2014 12:41:06 +0000 (08:41 -0400)]
GtkSettings: Add a private getter for the source
Settings have a little more metadata than plain properties. They
can come from different sources. Make this information available
so we can show it in the inspector.
https://bugzilla.gnome.org/show_bug.cgi?id=736971
Petr Kovar [Mon, 22 Sep 2014 15:43:26 +0000 (17:43 +0200)]
Update Czech po-properties translation
Petr Kovar [Mon, 22 Sep 2014 14:42:20 +0000 (16:42 +0200)]
Update Czech translation
Sébastien Wilmet [Thu, 18 Sep 2014 17:18:58 +0000 (19:18 +0200)]
inspector: remove g_message()
It was probably added for debugging purposes.
https://bugzilla.gnome.org/show_bug.cgi?id=736557
Benjamin Otte [Mon, 22 Sep 2014 13:41:35 +0000 (15:41 +0200)]
reftest: Build a shared lib on win32
Windows needs a shared library to link the modules against, otherwise
the undefined symbols make it not work.
So build a shared library on Windows.
We don't want a library elsewhere, as that just complicates things, so
we only make the library shared on Windows and keep it as a noinst
library otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=736338
Rico Tzschichholz [Mon, 22 Sep 2014 13:19:51 +0000 (15:19 +0200)]
reftest: Add missing include of reftest-snapshot.h
Matthias Clasen [Mon, 22 Sep 2014 13:04:19 +0000 (09:04 -0400)]
Trivial formatting fix
Matthias Clasen [Mon, 22 Sep 2014 10:59:29 +0000 (06:59 -0400)]
Fix a typo
Matthias Clasen [Mon, 22 Sep 2014 10:50:15 +0000 (06:50 -0400)]
Bump version
Matthias Clasen [Mon, 22 Sep 2014 10:35:02 +0000 (06:35 -0400)]
3.14.0
Matthias Clasen [Mon, 22 Sep 2014 03:17:29 +0000 (23:17 -0400)]
Drop another old, unused script
Matthias Clasen [Mon, 22 Sep 2014 03:14:56 +0000 (23:14 -0400)]
check-icon-names: Check for legacy names again
Keep checking the legacy icon names as long as we support them
(this caught gtk-undelete not working quite as expected).
Matthias Clasen [Mon, 22 Sep 2014 03:13:29 +0000 (23:13 -0400)]
Make gtk-undelete work again as icon name
The convention we use now is to not append any suffix for ltr icons,
and append -rtl for rtl. Make gtk-undelete follow this pattern.
Matthias Clasen [Mon, 22 Sep 2014 02:52:37 +0000 (22:52 -0400)]
Drop them from EXTRA_DIST too
Matthias Clasen [Mon, 22 Sep 2014 02:52:01 +0000 (22:52 -0400)]
Drop outdated scripts
These scripts haven't been used in many years.
Matthias Clasen [Mon, 22 Sep 2014 02:48:26 +0000 (22:48 -0400)]
Drop outdated files
These files stem from the time when the documentation was in
a separate module - long, long ago.
Matthias Clasen [Sun, 21 Sep 2014 22:00:36 +0000 (18:00 -0400)]
Updates for 3.14.0
Shankar Prasad [Mon, 22 Sep 2014 00:46:00 +0000 (00:46 +0000)]
Updated Kannada translation
Bernd Homuth [Sun, 21 Sep 2014 22:02:50 +0000 (22:02 +0000)]
Updated German translation
Matthias Clasen [Sun, 21 Sep 2014 20:29:48 +0000 (16:29 -0400)]
check-icon-theme: Print the name of the icon-theme
Matthias Clasen [Sun, 21 Sep 2014 20:28:15 +0000 (16:28 -0400)]
icon-theme: Test inheritance vs. generic fallback
Add a few tests that check the behavior of icon theme inheritance
vs generic fallback vs symbolic icons.
Matthias Clasen [Sun, 21 Sep 2014 18:46:09 +0000 (14:46 -0400)]
GtkIconTheme: Repair symbolic fallback with rtl/ltr
For symbolic icons, we prefer symbolics in inherited themes over
generic icons in the theme itself. So far this was implemented
by looking at icon_name[0] and looking that up in inherited themes
if it is symbolic. But with automatic rtl/ltr handling, the first
icon name will always have an -rtl or -ltr suffix, and an icon
with that suffix is not going to exist in most cases. To fix this,
look for shorter icon names too, as long as they are still symbolic.
https://bugzilla.gnome.org/show_bug.cgi?id=737000
Matthias Clasen [Sun, 21 Sep 2014 18:29:36 +0000 (14:29 -0400)]
Trivial: clarify a comment
Using 'highcolor' here seems confusing, since there is a theme
by that name. Just say full-color.
Matthias Clasen [Sun, 21 Sep 2014 18:09:16 +0000 (14:09 -0400)]
testicontheme: Use rtl/ltr lookup flags
This should help with diagnosing
https://bugzilla.gnome.org/show_bug.cgi?id=737000
Benjamin Otte [Sun, 21 Sep 2014 16:56:32 +0000 (18:56 +0200)]
reftest: Build a private library for gtk-reftest
This is a noinst library for now, but the idea is to turn it into a
proper DLL on Windows, so that we can install it and properly link the
modules to it. Windows doesn't allow undefined symbols in modules.
https://bugzilla.gnome.org/show_bug.cgi?id=736338
Benjamin Otte [Sun, 21 Sep 2014 16:33:42 +0000 (18:33 +0200)]
reftest: Split our more functionality
Split actually taking the snapshot into its own file.
Benjamin Otte [Sun, 21 Sep 2014 16:18:38 +0000 (18:18 +0200)]
reftest: Split out some functionality into own file
Comparing two surfaces is something that can be nicely factored out.
Tom Tryfonidis [Sun, 21 Sep 2014 13:38:58 +0000 (13:38 +0000)]
Updated Greek translation
Carles Ferrando [Sun, 21 Sep 2014 13:01:58 +0000 (15:01 +0200)]
[l10n] Updated Catalan (Valencian) translation
Gil Forcada [Sun, 21 Sep 2014 13:01:52 +0000 (15:01 +0200)]
[l10n] Update Catalan translation
Sandeep Sheshrao Shedmake [Sun, 21 Sep 2014 02:02:06 +0000 (07:32 +0530)]
Updated Marathi Translations
Matthias Clasen [Sat, 20 Sep 2014 23:52:23 +0000 (19:52 -0400)]
inspector: Look up the schema recursively
This is the recommended way to use this function. It should
also fix problems with the inspector when GSETTINGS_SCHEMA_DIR
is set.
https://bugzilla.gnome.org/show_bug.cgi?id=737027
Matthias Clasen [Sat, 20 Sep 2014 23:28:56 +0000 (19:28 -0400)]
inspector: Avoid a crash
We were forgetting to free the hash table, which then gave
us weak ref notifies at an unexpected time.
https://bugzilla.gnome.org/show_bug.cgi?id=737026
Carles Ferrando [Sat, 20 Sep 2014 22:02:43 +0000 (00:02 +0200)]
[l10n] Updated Catalan (Valencian) translation
Gil Forcada [Sat, 20 Sep 2014 22:02:35 +0000 (00:02 +0200)]
[l10n] Update Catalan translation
Ask H. Larsen [Sat, 20 Sep 2014 08:05:55 +0000 (10:05 +0200)]
Updated Danish translation
Rajesh Ranjan [Sat, 20 Sep 2014 05:36:08 +0000 (05:36 +0000)]
Updated Hindi translation
Gábor Kelemen [Sat, 20 Sep 2014 00:28:13 +0000 (00:28 +0000)]
Updated Hungarian translation
Jasper St. Pierre [Wed, 17 Sep 2014 22:16:45 +0000 (16:16 -0600)]
gtkwindow: Make sure to update the shadow width, opaque region and border windows when realizing
Otherwise, they might not be properly set before the window is mapped.
For the opaque region and border window, it means that they won't get
set before the next size allocation, which tends to not be a bit deal.
For the shadow width, though, _GTK_FRAME_EXTENTS has a different meaning
when it's set before the window is mapped, so we need to make sure that
it's properly set when the window is mapped.
Gábor Kelemen [Fri, 19 Sep 2014 09:33:03 +0000 (09:33 +0000)]
Updated Hungarian translation
Matthias Clasen [Fri, 19 Sep 2014 01:57:20 +0000 (21:57 -0400)]
Fix warning grammar
Matthias Clasen [Fri, 19 Sep 2014 01:53:20 +0000 (21:53 -0400)]
Fix parse-sass.sh script
The script runs into this error here:
OptionParser::NeedlessArgument: needless argument: --sourcemap=none
Ekaterina Gerasimova [Thu, 18 Sep 2014 20:39:07 +0000 (21:39 +0100)]
Remove reference to GTK+ 2 in reference docs
The reference applies to both GTK+ 2 and GTK+ 3, so remove mention of
the version number from the reference docs.
https://bugzilla.gnome.org/show_bug.cgi?id=736927
Christian Kirbach [Thu, 18 Sep 2014 21:20:06 +0000 (21:20 +0000)]
Updated German translation
Ask H. Larsen [Thu, 18 Sep 2014 17:44:30 +0000 (19:44 +0200)]
Updated Danish translation
Yuri Myasoedov [Thu, 18 Sep 2014 12:33:22 +0000 (16:33 +0400)]
Updated Russian translation
Yuri Myasoedov [Thu, 18 Sep 2014 12:03:11 +0000 (16:03 +0400)]
Updated Russian translation
Yosef Or Boczko [Thu, 18 Sep 2014 02:42:50 +0000 (05:42 +0300)]
Updated Hebrew translation
Matthias Clasen [Wed, 17 Sep 2014 19:09:46 +0000 (15:09 -0400)]
Raleigh: Drop decoration-layout style property
This is not used anymore.
Ask H. Larsen [Wed, 17 Sep 2014 16:44:54 +0000 (18:44 +0200)]
Update Danish translation of properties
Matthias Clasen [Wed, 17 Sep 2014 16:42:32 +0000 (12:42 -0400)]
Make subsurface test use a stack
Just to show that it works.
Matthias Clasen [Wed, 17 Sep 2014 15:09:52 +0000 (11:09 -0400)]
Add a quick subsurface tests
Just to have some code that uses subsurfaces inside a widget
tree, and not like a 'pseudo-toplevel'.